#include "searchlineedit.h"

SearchLineEdit::SearchLineEdit(QWidget *parent) : QLineEdit(parent)
{

}

void SearchLineEdit::focusInEvent(QFocusEvent *event)
{
    emit hasfocus();
    QLineEdit::focusInEvent(event);
}

void SearchLineEdit::focusOutEvent(QFocusEvent *event)
{
    emit losefocus();
    QLineEdit::focusOutEvent(event);
}


